package com.qf.controller;
import com.qf.pojo.resp.BaseResp;
import com.qf.service.BTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/btype")
public class BusinessTypeController {
    @Autowired
    BTypeService bTypeService;

    @RequestMapping("/findType")
    public BaseResp findType(){
        System.out.println("=============到了");
        return bTypeService.findAll();
    }
}
